//
//  ZFToolScrollView.swift
//  map
//
//  Created by fyzq on 2024/1/25.
//

import UIKit

class ZFMenuScrollView: UIScrollView {
    var menuView:ZFMenuView!
    override init(frame: CGRect) {
        super.init(frame: frame)
        setZFToolScrollView()
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    fileprivate func setZFToolScrollView(){
        menuView = ZFMenuView()
        menuView.backgroundColor = R.color.bg()
        menuView.addRadius(radius: 5)
        addSubview(menuView)
        
        menuView.snp.makeConstraints { make in
            make.top.equalTo(10)
            make.left.equalTo(10)
            make.right.equalTo(-10)
            make.width.equalTo(UIDevice.width - 20)
        }
    }
}



